﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands
{
    /// <summary>
    /// 登录请求类
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<UserDTO>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
    }
}
